import request from '@/utils/request';

/**
 * 品牌提取API
 */

// 提取潜在品牌
export function extractBrands(data) {
  return request({
    url: '/api/data-clean/extract-brands',
    method: 'post',
    data,
    timeout: 60000 // 为品牌提取操作单独设置60秒超时时间
  });
}

// 保存新品牌
export function saveNewBrands(data) {
  return request({
    url: '/api/data-clean/save-new-brands',
    method: 'post',
    data
  });
}

// 保存非品牌词
export function saveNonBrandWords(data) {
  return request({
    url: '/api/data-clean/save-non-brand-words',
    method: 'post',
    data
  });
} 